package cn.xx.org.domain;

import cn.xx.basic.domain.BaseDomain;
import cn.xx.user.domain.LoginInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/*
* 员工表
* */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee  extends BaseDomain implements Serializable{
    //用户名
    private String username;
    //邮箱
    private String email;
    //手机
    private String phone;
    //盐值(先不管)
    private String salt;
    //密码
    private String password;
    //年龄
    private Integer age;
    //状态   1 正常    -1 禁用
    private Integer state = 1;
    //部门
    private Department department;
    //店铺
    private Shop shop;
    // 店铺id
    private Long shop_id;
    // 登录id
    private LoginInfo loginInfo;
}
